<template>
  <div class="async-path">
    async-path
    <a-button @click="handleClick">测试</a-button>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import router from '@/router'
export default defineComponent({
  name: 'AsyncPath',
  setup() {
    function handleClick() {
      router.replace({
        path: '/async-path/index-index'
      })
    }
    return {
      handleClick
    }
  }
})
</script>

<style scoped>
.async-path {}
</style>
